projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e53d2
)
(find_next_newline_no_quit): New function.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 14 Jun 1994 21:54:45 +0000
(21:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 14 Jun 1994 21:54:45 +0000
(21:54 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index b4ef3229ac2cff252ff7d28e04911e1e86423f69..e894e22dd6d5e64e68948a6ddb40d30c5c75cbbe 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-348,6
+348,13
@@
scan_buffer (target, start, count, shortage, allow_quit)
return (start + ((direction == 1 ? 0 : 1)));
}
+int
+find_next_newline_no_quit (from, cnt)
+ register int from, cnt;
+{
+ return scan_buffer ('\n', from, cnt, (int *) 0, 0);
+}
+
int
find_next_newline (from, cnt)
register int from, cnt;